@charset 'utf-8';

body {
    background-color: #f5f5f5;
}

.header {
    width: 100%;
    font-size: 12px;
    // position: relative;
    background: #fff;
    // position: relative;
    z-index: 20;
    height: 100px;
    border-bottom: 2px solid #ff6700;
}

.wrapper {
    width: 1226px;
    margin: auto;

    // height: 100px;
    .header_logo {
        width: 93px;
        margin-top: 26px;
        float: left;

        img {
            display: block;
            width: 48px;
            height: 48px;
            overflow: hidden;
        }
    }

    h1 {
        float: left;
        line-height: 100px;
        font-weight: 400;
    }

    p {
        float: left;
        height: 20px;
        line-height: 20px;
        margin-top: 20px;
        margin-left: 15px;
        color: #757575;
        line-height: 100px;
    }

    .reg {
        float: right;

        span {
            line-height: 100px;
            text-align: center;
        }
    }
}

.main {
    width: 100%;
    background-color: #f5f5f5;
    padding-top: 10px;
    padding-bottom: 30px;

    .wrapper {
        width: 1226px;
        margin: auto;

        // .commodity {
        // 	margin-top: 50px 0;
        // }
        .all {
            background-color: #fff;
            height: 70px;
            margin: 20px 0;
            border-bottom: 1px solid #999;

            .checkbox {
                width: 110px;
                line-height: 70px;
                float: left;
                // display: inline-block;
                margin-left: 20px;
                margin-right: 22px;
            }

            .com {
                float: left;
                display: block;
                width: 380px;
                height: 70px;
                line-height: 70px;
                margin-right: 20px;
            }

            .unit_price {
                float: left;
                width: 140px;
                // padding-right: 18px;
                line-height: 70px;
                text-align: center;
                color: #424242;
                margin-right: 20px;
            }

            .num {
                float: left;
                width: 150px;
                text-align: center;
                color: #424242;
                line-height: 70px;
                margin-right: 20px;
            }

            .subtotal {
                float: left;
                width: 120px;
                text-align: center;
                line-height: 70px;
                color: #424242;
                margin-right: 20px;
            }

            .operate {
                float: left;
                color: #424242;
                width: 80px;
                text-align: center;
                line-height: 70px;
                margin: 0;
                // margin-right: 20px;
            }
        }
    }
}

.list_box {
    height: 117px;
    background-color: #fff;
    // height: 70px;
    margin: 20px 0;
    border-bottom: 1px solid #999;
    padding: 15px 26px 15px 20px;

    span {
        float: left;
        line-height: 87px;
        margin-right: 6px;
    }

    .checkbox {
        float: left;
        text-align: center;
        line-height: 87px;
        // margin-right: 20px;
    }

    .com-img {
        float: left;
        width: 80px;
        height: 80px;
        margin: 0 20px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .num2 {
        width: 158px;
        border: 1px solid #999;
        float: left;
        height: 38px;
        text-align: center;
        line-height: 38px;
        display: flex;
        justify-content: space-between;
        margin-top: 25px;

        a {
            width: 38px;
            // display: block;
            // float: left;
        }

        input {
            // display: block;
            width: 72px;
            // float: left;
            // line-height: 38px;
            text-align: center;
        }
    }

    .list1 {
        width: 380px;
        // margin-right: 30px;
    }

    .list2 {
        width: 158px;
        text-align: center;
    }

    .list3 {
        width: 190px;
        color: #ff4a00;
        text-align: center;
    }

    .list4 {
        width: 80px;
    }
}

.settle {
    height: 50px;
    // text-align: right;
    background-color: #fff;

    .settle_item {
        float: left;
        width: 275px;
        padding: 15px 26px 15px 20px;
    }

    .settle_price {
        float: right;
        padding-left: 13px;
        color: #ff6700;
        line-height: 48px;
        // margin-left: 100px;
        margin-right: 50px;
    }

    .jiesuan {
        width: 202px;
        height: 48px;
        // display: block;
        float: right;
        background-color: #ff6700;
        text-align: center;
        color: #fff;
        line-height: 48px;
        vertical-align: top;
    }
}

// ----------------------------推荐--------------------------------------

.recommend {
    width: 1226px;
    margin: auto;

    h2 {
        position: relative;
        margin: 0;
        height: 50px;
        font-size: 30px;
        font-weight: 400;
        color: #757575;
        border-top: 1px solid #e0e0e0;

        span {
            position: absolute;
            top: -20px;
            left: 372px;
            height: 40px;
            width: 482px;
            line-height: 40px;
            text-align: center;
            display: block;
            background-color: #f5f5f5;
        }
    }
}

.code_box {
    width: 1226px;
    margin: auto;
    background-color: #f5f5f5;

    ul {
        margin: 0 -15px;
    }

    li {
        float: left;
        width: 234px;
        height: 300px;
        padding: 0 20px;
        margin: 0 0 14px 14px;
        padding: 0;
        position: relative;
        overflow: hidden;
        list-style: none;
        background-color: #fff;
        text-align: center;
        border: 1px solid #fff;

        &:hover {
            .hide {
                opacity: 1;
                bottom: 120px;
                left: 50px;
            }
        }

        a {
            color: #757575;
            line-height: 30px;

            img {
                margin: auto;
                display: block;
                width: 140px;
                height: 140px;
                margin-bottom: 10px;
            }
        }

        .hide {
            position: absolute;
            left: 50px;
            bottom: 20px;
            width: 100%;
            opacity: 0;
            transform: translate3d(0, 200%, 0);
            transition: all 0.4s;

            .hide_child {
                display: block;
                width: 122px;
                height: 30px;
                font-size: 12px;
                line-height: 28px;
                background: #fff;
                color: #ff6700;
                border: 1px solid #ff6700;
            }
        }
    }
}

// ----------------------------footer------------------------------------
.ending {
    width: 100%;
    background-color: #fff;
    margin-top: 10px;
}

.ending-ul1 {
    width: 1226px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #999;

    li {
        margin: 20px auto;
        padding: 0 70px;
        border-left: 1px solid #999;

        a {
            // font-size: 16px;
            text-align: center;
        }

        &:hover {
            &>a {
                color: orange;
                transition: 0.5s;
            }
        }

        &:nth-child(1) {
            border-left: 0;
        }
    }
}

.ending-box1 {
    width: 1226px;
    margin: 0 auto;
    display: flex;

    ul {
        width: 80%;
        margin: 40px 0;
        display: flex;

        li {
            width: 176px;
            display: flex;
            flex-direction: column;
            text-align: center;

            h2 {
                font-weight: 400;
                margin-bottom: 20px;
                // text-align: center;
            }

            a {
                margin-top: 10px;
                // text-align: center;
            }

            span {
                color: #999;
                // font-size: 14px;

                &:hover {
                    color: orange;
                }
            }
        }
    }
}

.ending-box2 {
    height: 140px;
    margin-top: 50px;
    text-align: center;
    line-height: 30px;
    border-left: 1px solid #999;

    h2 {
        color: orange;
        font-size: 24px;
        font-weight: 400;
    }

    span {
        color: #999;
    }

    input {
        width: 130px;
        height: 32px;
        border: 1px solid orange;
        background-color: #fff;
        color: orange;
    }
}

.ending-wb {
    display: flex;
    margin-left: 64px;

    p {
        margin-top: 5px;
    }

    img {
        width: 30px;
        height: 30px;
        margin-left: 10px;
    }
}